package com.shenxuchen.crm.service;

import com.shenxuchen.crm.pojo.Type;

import java.util.List;

public interface TypeService {
    List<Type> getAll();

    void save(Type type);

    Boolean getExists(String code);

    Type getByCode(String code);

    void edit(Type type);

    void delete(String[] codes);
}
